/*    */ package com.newcrm.util;
/*    */ 
/*    */ import java.io.File;
/*    */ import java.io.IOException;
/*    */ import java.util.ArrayList;
/*    */ import java.util.List;
/*    */ import javax.xml.parsers.ParserConfigurationException;
/*    */ import javax.xml.parsers.SAXParser;
/*    */ import javax.xml.parsers.SAXParserFactory;
/*    */ import org.xml.sax.SAXException;
/*    */ 
/*    */ public class XMLUtil
/*    */ {
/*    */   public static List<String[]> readXML(File file)
/*    */     throws ParserConfigurationException, SAXException, IOException
/*    */   {
/* 18 */     SAXParserFactory spf = SAXParserFactory.newInstance();
/* 19 */     spf.setNamespaceAware(true);
/* 20 */     spf.setValidating(true);
/* 21 */     SAXParser parser = spf.newSAXParser();
/* 22 */     List list = new ArrayList();
/* 23 */     XMLHandler handler = new XMLHandler(list);
/* 24 */     parser.parse(file, handler);
/* 25 */     return list;
/*    */   }
/*    */ 
/*    */   public static void main(String[] args)
/*    */     throws Exception
/*    */   {
/*    */   }
/*    */ }

/* Location:           C:\E\referenceProject\CRM参考\qikebao\WEB-INF\lib\qikebao.jar
 * Qualified Name:     com.newcrm.util.XMLUtil
 * JD-Core Version:    0.6.1
 */